package com.fsc.entity.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Builder;
import lombok.Data;

/**
 * 群信息表
 * @TableName group_info
 */
@TableName(value ="group_info")
@Data
@Builder
public class GroupInfo implements Serializable {
    /**
     * 群ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 群主ID
     */
    private Integer ownerId;
    /**
     * 群名称
     */
    private String groupName;

    /**
     * 群聊头像
     */
    private String groupIcon;

    /**
     * 群成员人数
     */
    private Integer number;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}